<template>
  <div class="list">
    <el-breadcrumb
      separator-class="el-icon-arrow-right"
      style="margin: 20px 0px 30px 0px"
    >
      <el-breadcrumb-item>首页</el-breadcrumb-item>
      <el-breadcrumb-item>考研科目列表</el-breadcrumb-item>
      <el-breadcrumb-item>
          <span style="font-weight:bolder;">{{sname}}</span>
      </el-breadcrumb-item>
    </el-breadcrumb>
      <File :sname="sname"></File>
  </div>
</template>

<script>
import File from "../components/File.vue";
export default {
    name:'List',
     data() {
    return { sname: "" };
  },
  components: {
    File
  },
  created() {
    const query = this.$route.query;
    this.sname = query.sname;
  }
}
</script>

<style>

</style>